﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using KegData;

namespace KegManager
{
    /// <summary>
    /// Interaction logic for TapControl.xaml
    /// </summary>
    public partial class TapControl : UserControl
    {
        public static readonly DependencyProperty KegProperty = DependencyProperty.Register("Keg", typeof(Keg), typeof(TapControl));
        public static readonly DependencyProperty KegDockProperty = DependencyProperty.Register("KegDock", typeof(Dock), typeof(TapControl));

        public Keg Keg
        {
            get { return (Keg)GetValue(TapControl.KegProperty); }
            set { SetValue(TapControl.KegProperty, value); }
        }

        public Dock KegDock
        {
            get { return (Dock)GetValue(TapControl.KegDockProperty); }
            set { SetValue(TapControl.KegDockProperty, value); }
        }

        public TapControl()
        {
            InitializeComponent();
        }
    }
}
